<?php

class Bootstrap extends YouNet_Bootstrap
{
	public function __initPath()
	{
        // Define path to image directory
        define('IMG_PATH', STATIC_PATH . '/img_welcome');
        define('IMG_PATH_VIEW', STATIC_URL . '/img_welcome');
        
        define('IMG_PATH_TEMP', STATIC_PATH . '/upload/temp');
        define('LOG_PATH', STATIC_PATH . '/log');

        // Define path to image directory
        define('UPLOAD_PATH', STATIC_PATH . '/upload');
        define('UPLOAD_URL', STATIC_URL . '/upload');   
	}

	public function __initPaymentManager()
	{
		parent::__initPaymentManager();

		$manager = Payment_Manager::getInstance();
		$manager->setOptions($this->getOptions());
		$manager->registerHandler(new Payment_Item_Footer());
        

	}

}

